import java.io.IOException;
import java.util.ArrayList;


public class SchedulabilityTestManager {

	/**
	 * @param args
	 * @throws Exception 
	 */
	public static void main(String[] args) throws Exception {
		
		DataGenerator dataGen = new DataGenerator("taskgraph_1.graphml");
		
		ArrayList<Task> tasks = dataGen.getTasks();

		
		boolean schedulable = ResponseTimeAnalyzer.analyze(tasks);
		
		ArrayList<Task> simulatedTasks = Simulator.simulate(dataGen); 
		
		for (Task simulatedTask : simulatedTasks) {
			//System.out.println("WCRT for task " + simulatedTask.getName() + ": " + simulatedTask.getWcrt());
		}
		
		//System.out.println("Schedulable:" + schedulable);
		
	
	}	
}


